﻿Public Class WebForm1
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btnEditProfile_Click(sender As Object, e As EventArgs) Handles btnEditProfile.Click
        If Request.Params("U_Name") = User.Identity.Name Then
            btnEditProfile.Visible = True
            Response.Redirect("~/Edit_UserProfile.aspx?U_Name=" & User.Identity.Name)
        Else
            btnEditProfile.Visible = False
        End If
    End Sub
End Class